import {Module} from 'vuex';
import ListState from './list-state';
import ListMutation from './list-mutation';

export default class<T extends ListState<U>, R, U> extends ListMutation<T, U> implements Module<ListState<U>, R> {
    namespaced = true;
    state = {
        totalCount: 0,
        currentPage: 1,
        pageSize: 10,
        list: [],
        loading: false,
    };
}
